Skip to content

feat: support etcd auth in etcd client via environment variables.#1175

Merged
JimHsiung merged 1 commit intojd-opensource:mainfrom
JimHsiung:feat/etcd-auth
Apr 5, 2026
Merged

feat: support etcd auth in etcd client via environment variables.#1175
JimHsiung merged 1 commit intojd-opensource:mainfrom
JimHsiung:feat/etcd-auth

Conversation

@JimHsiung
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for Etcd authentication by adding an overloaded constructor to the EtcdClient class and utilizing environment variables for credentials. The changes also include a new utility function for optional environment variable retrieval. I have reviewed the code and identified two style guide violations regarding class inheritance and constructor explicitness that should be addressed.

Copy link
Copy Markdown
Collaborator

@yq33victor yq33victor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JimHsiung JimHsiung merged commit 6fc6cce into jd-opensource:main Apr 5, 2026
17 of 36 checks passed
@JimHsiung JimHsiung deleted the feat/etcd-auth branch April 5, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants